package cn.yanhu.kuwanapp.home.adapter

import android.content.Context
import cn.woochen.comlib.adapter.CommonRecyclerAdapter
import cn.yanhu.kuwanapp.R
import cn.yanhu.kuwanapp.bean.response.RespGameListBean
import cn.yanhu.kuwanapp.databinding.ItemGameListBinding
import cn.yanhu.kuwanapp.databinding.ItemTopMenuBinding

/**
 *
 * 类描述：
 * @author：woochen
 * create at：2021/7/28 7:19 AM
 */
class GameListAdapter(datas: List<RespGameListBean>) :
        CommonRecyclerAdapter<RespGameListBean>(datas, R.layout.item_game_list) {

    override fun convert(holder: ViewHolder, item: RespGameListBean) {
        holder.getDataBinding<ItemGameListBinding?>()?.let {
            it.itemBean = item
        }
    }
}